package com.mark.springbootvideo.service;

import com.mark.springbootvideo.entity.Video;

import java.util.List;

/**
 * @Author: MARK
 * @Date: 2019/9/8 08:42
 * @Version: 1.0.0
 * @Description: 视频业务类接口
 */
public interface VideoService {
    List<Video> findAll(Integer page, Integer size);

    Video findById(Integer id);

    void update(Video video);

    void delete(Integer id);

    void save(Video video);
}
